﻿using Helper;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Starehe.ViewModels
{
    public class StudentsVM: ViewModelBase
    {
        ObservableCollection<ViewModelBase> menuItems = new ObservableCollection<ViewModelBase>();
        public StudentsVM()
            : base()
        {
            InitVars();
            CreateCommands();

        }
        protected override void CreateCommands()
        {
            
        }

        protected override void InitVars()
        {
            
            Title = "Students";
            menuItems.Add(new NewStudentVM());
            menuItems.Add(new StudentListVM());
            
            //menuItems.Add(new GenerateListVM());
            //menuItems.Add(new AttendanceRegisterVM());
        }
        
        public ObservableCollection<ViewModelBase> MenuItems
        {
            get { return menuItems; }
        }
        public override void Reset()
        {
            throw new System.NotImplementedException();
        }

    }
}
